edited receive text cotroller to inherit from application