added basic notification and changed functionality of the save button