revision on buttons logic.
adding table.

Signed-off-by: Bravocado <bravocado.project@gmail.com>