added function for complete reminder