i m adding these on follwowing way dispatch_async(dispatch_get_main_queue(), ^{ //add here }); but not working for the first time