Time for action – tracking an active tab dynamically