Quick access contains folders from two sources: Recently used and pinned. Recently used is just that; recently used. While it is probably possible to programmatically pin a folder, you should not do it. Only the user should pin folders.