Fix timing problem by resetting arduino after the GUI functions