In case someone else faces the same issue, if you actually deleted your homepage, you should first restore it.
1. Go to Pages -> Add new and create a page with Home as a title. Publish the page.
2. Go to Settings of Wordpress-> Reading and select the new Home page as Homepage in the...