finish smart phonebook app
fix setImmediate invocations