ESP update

Fixed ESP toggle not working properly