On/Off Button in CustomLayout