Upgrade API to 5.0, with changes to make app run.
(UI still needs slight modification)