Added support for showing/hiding the software keyboard on platforms which support it