Control GPIO of raspberry pi with buttons