fixed crash when ActionMode is started/stopped