bugfix due to RecentPrograms array was overwritten
thread safe operation on mutable array