Fixed tab change on reload