Added Done button and Cancel button on click listener
Added Dialog based guidance to add environment.
Now the add environment is auto explanatory by the help of dialogs