nsdate update and navbar pop bug fix