[ViewNote: Bug fix]

- Fixed a bug where the title and content editors would still show
values of the previously viewed note upon clicking the "Create" button.

- Removed unused commented out code (no longer needed).