Made calc page repond to changes not just clicks