adjusted UI to add auto recover and sleep layout