add btn left, right on GUI, refactoring