Added slot to monitor changing current tab