Add auto form filling after select input change.
Refactor some code in Note class.