add delete note functionality for ios device