Added toggle success function for success call on album.html