predict button added: logs button pressed event onto console