removed 5000 ms delay
added some callbacks calls into onactivate, ondestroy handlers
removed backkeypress wrong behavior