When pressing enter, generate password and unmask it