void setCurrentView(IViewInitializer init) {
final ViewKey key = init.getViewKey();
Log.debug("Setting current view: '" + key + "' ..");
CView e;
final ViewOptions options = init.getViewKey().getViewClass().getViewOptions();
final int cacheIndex = cache.searchQueue(key);
final boolean showPopped = ((cacheIndex == -1) && options.isInitiallyPopped());
if(cacheIndex != -1) {
// existing cached view
e = cache.removeAt(cacheIndex);
assert e != null;