Worked out bugs with RecentlyViewedViewController