bug fixes for showing alert only if favorited and resolving alerts functionality