Parsing parameters for textview and button