Fixed MainActivity layout problems