Fixed text input in expanding list item.

Fixed text input in expanding list item. Had to move it to a header in
order to avoid it being closed when the keyboard appeared.