                            const filter = getState('filter', 'all');
                                                    return filter === 'completed' ? 'filter-btn active' : 'filter-btn';
                                                },
                                                text: 'Completed',
                                                onclick: () => setState('filter', 'completed')
                                            }
                                        }
                     