Updated intent to MainActivity.