invoke Flip from gui