Refactor for video status and viewed status