Finally managed to add functionality for toggle watched, marked all as watched and refresh feed. Also added safeguard for chrome API when testing out of extension.