Added Settings Page and made action buttons work