Adding profiles support.

Adding support for changing profiles within the remote control.
Solves issue 655.