Build a native mobile app that functions as a simple daily micro-habit tracker. The app should be designed for ease of use with all core functionality on a single screen.
Core requirements:
1. **Main Screen:** Display a list of daily habits. Each item in the list should have the habit's name (e.g., "Sleep 8 hours") and a checkbox.
2. **Stateful Checkboxes:** Tapping a checkbox should mark the habit as complete for the day. The checked state must be saved locally and persist if the app is closed and reopened. Tapping a completed habit should uncheck it.
3. **Add New Habits:** Include a button or an input field on the main screen that allows users to add a new habit to their list.
4. **Edit and Delete Habits:** Users must be able to edit the name of an existing habit and delete a habit from the list. A common pattern for this is a long-press or swipe gesture on the habit item.
5. **Automatic Daily Reset:** At midnight in the user's local time, all tracked habits for the day should automatically reset to their incomplete (unchecked) state. The list of habits itself should remain.
6. **Initial State:** When the app is first launched, it should be pre-populated with two default habits: "Sleep 8 hours" and "Drink a glass of water".
7. **No Authentication:** This app does not require any user login or accounts. All data should be stored locally on the device.
Build a native mobile app that functions as a simple daily micro-habit tracker. The app should be designed for ease of use with all core functionality on a single screen.
Core requirements:
1. **Mai...