Backtracking the source a bit so it corresponds to the YouTube video tutorial at the portion where the app runs without crashing.