updating ngWidApp, added backbutton and cleardata functions to the widApp's scope