fixed keyboard opening and closing on label click

When you click the label, open the keyboard if not open, close the
keyboard when open.