Merge button with input