cancel button changed to discard when editing notes