Listening to tab changes is done. http://stackoverflow.com/a/18352428/1418097