I've replaced implementation of MemoryCache by that wich was presented in Android Developer Blog