event handlers for icons submits input data - hooray