reduce clearnotification and fix onResume not called