changing to MainActivity extends Activity