bugfix spinner on new note

This pull request fix a file upload spinner related bug which appears only on new notes.