MenuWidget class now inherites from Widget