moved dialog down on MainActivity
moved dialog down on MainActivity and other things