change layout of app to single search function