Currently, we do a pull before updating the database when modifying any notes. This cause a long delay before viewing the updated note in the UI. Find a safe way to fix that