PUP.Optional.Wajam is the detection name for Wajam, a browser add-on marketed as a “social search.”
PUP.Optional.APNToolbar refers to the Ask Partner Network (APN) toolbar, which is typically identified by the red Ask icon. It is a well-known browser hijacker that, over time, is replaced by the newer Mindspark toolbar.
PUP.Optional.APNToolbar is usually installed by the users themselves, who may be prompted by exaggerated promises of functionality. It provides toolbars and Ask.com start pages claiming to offer helpful tools for user hobbies and interests.
In most cases the built-in uninstallers and uninstall guides are far from complete. It usually takes a full threat scan with Malwarebytes Anti-Malware and some additional tinkering to get back the users’ preferred browser settings.
As an example, a removal guide for the Search App by Ask can be found on our forums.