Renamed renderNote to addNote and created clearInput function for notesNew