Improve note creation form in offline version. Clean form fields after submition, handle validation errors. #2