Improve the way keyBoards buttons are handled
Do not hardcode graph's width