Revert "Update EnvironmentWithUI.java"

This reverts commit e67f239051ba56cadd8978ee109fb8e1f1cb008c.