add button handling to childcontroller