remove deprecated startManagingCursor
fix alarm manager, some refactoring (success, failes conditions)