changed MainActivity to a listactivity