Disable the "add note" button in database offline mode