Added logic for Write button.
Added logic for Write button.

Will be doing a bit of redesign for the FunctionPanel based on some good feedback I sought today.

mwmckee/remote-wiring-experience,ms-iot/remote-wiring-experience