Save path while switching to gridview