Added more button functions for rendering text etc