Converted app to use XML GUI