Bug 960746 - Sync tab state with gecko state in onLocationChange to update navigation buttons. r=lucasr