replace by cursor adapter

https://github.com/bearprada/iDrink/issues/3