Refactored note keyword saving into separate simple and functional methods