Exit popup windows in category activity and login activity