Slightly improved button input.