modify environmentActivity EDIT state button listener