Add widget elements as member variables to the class

Change-Id: I2c9bb0ddc2d5451f2f7e0015efe97488742644f0