Fix invalid programme selection when button is pressed after web command.
Boyscout: Make error message clearer when switching a programme fails.