fix bug with wrong d/s setup after back
fix bug with untouchable buttons in actionsheet on ios6.1
implemented waitpoll - long polling in my own way (cli side)