Added button reading and function calls.

Signed-off-by: Thomas Helmke <thomas.helmke@gmx.de>