Fixed NPE while resuming fragment