Changed some of the format of the code to not have public variables. 
Made it display a message if there were no results found from a search
instead of just a blank activity.