edit main and second activity, layout