edit text and gallery