Fixed view bug and added error messages for attempted edits
Made it so the error message only appears once