Implemented record checking in viewing activities