How to make the console visible again after it has been minimized by the user?