add widget and power off button action