[AW] Dev UI: Use lambda expression for listeners

Bug: N/A
Test: compile and manually tap UI elements to copy
Change-Id: I69690788734f627cd24adff8eb8309817fe0eba6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1911753
Auto-Submit: Hazem Ashmawy <hazems@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Commit-Queue: Hazem Ashmawy <hazems@chromium.org>
Cr-Commit-Position: refs/heads/master@{#714628}