Made the ActionMode close when switching fragments