Implemented serial connection on button press