uitablewview with refresh and ios 6 detection