Promisify refreshView