Message handler on different devices

What error does it give you? Post it with the full stack trace, see Wiki - how to post code on this forum.

Also, gateway scope has no concept of pages, you'll need to target s or session and create an appropriate handler in there.

Why not call the session UpdateLabel handler directly from the button instead of going through an additional gateway handler?