cancel attendance clicking button