App is not Starting

As i have written down the same code as it was presented in the book, my app is not working.
After installation of app when I start the app it is only showing a white background and sometimes it shows the empty view but with the menus and when I press the add button it stops working… Pls suggest me the solution for this problem