Save view functionality added