Added favorites tab in the images and favorites button in the analysis report
Added favorites tab in the cases
Refactoring internet status code