Moved messages per page to the settings file