Added table view and toggle button