Rework buttons for control "all" robots.

Move cycle from appmanager to mainwindow. Simplify code and fix gui
behavior on connect try.