Changed the ClassPostConstruct syntax for the MainScreen to use the public preview syntax