Added hide functionality for Action sheet