I just tried your app on my tablet and after I enter a number and press Done on the keyboard, it already goes away by itself.
If you want the keyboard to go away when the user presses your Calculate key instead of the keyboard's Done key, then enter the code I gave you into the btnCalculate_Click sub