Fires events when the current tab will change and has changed - Fix issue #1