add remove note functionality