database bug fixed and add view transition animation