Added a widget, fixed inverted values not working correctly when using notification