SAMPLE APP: Added helper methods to the layout.