added ui (button, label);
fixed flipping