Added off button to interface and off mode to back end.