Use prop instead of attr for changing 'selected' state

Bug: 68998
Change-Id: I4f9231dde31e570e45c4af9e635d7bd9144a7db0