Update calculator(gui)

Done a little troubleshooting