Fix: Uncaught TypeError: Cannot read property 'shown' of undefined

Bug: 49103
Change-Id: Iecaa078835777625eca5d35dbb6ece19de1e8b29