Added on pause to edit note class

Upon leaving the notes screen your current changes are saved without
having to press sync..