Toggle button changes button image

Changed button to toggleButton
Added onToggleClicked function