Fix entries getting duplicated from apps using AppConfig.
Fix entry always selected with blue color at template