Made class public
Correctly setting text in view