update: chaining promises. Custom event on DOM key pressed