ToggleCompat modified to work with any kind of Activity