added Delegate Methods to handle change of Visibility of Controls