Fixed bug With no note selected and save button