Modified MainActivit file