add button control and continuous checking serial connection