Moved setText() into the init() function