Change visibility of method onConstruct
Mistake typo