ImageButton improved. "Switch" mode implemented