1. Update the no. of entries of favorites upon removal of items from the favorites table using drop
2. Create unit tests for updating number of entries

GCP-10318

Reviewer: Aldrin Batac
Code Cleanup:
1. Use of isEmpty instead of size
2. Follow constants name convention
3. Use of Java collection interface instead of concrete class for declaration
4. Move left curly brace to the end of previous line of code
5. Local variable should not shadow class fields
6. Rearrange order to static final instead of final static
7. Remove unnecessary TODO tags
8. Remove useless parentheses around expressions
9. Merge collapsible if statement with the enclosing one
10. Removed unnecessary comments
11. Remove unnecessary literal 'true' in condition expression
12. Reuse constant variable instead of duplicating string literals
13. Immediately return expression instead of assigning it to a temporary variable
14. Use a logger to log exception

GCP-10318

Reviewer: Aldrin Batac