Refactoring note pages to use constants