fix build errors

Your project is awesome!
Here is a fix for two errors that came up when I tried to compile your app.

By the way, I'd like to encourage you to publish your app to [F-Droid] (https://f-droid.org/) or to upload binaries to the release page so others who do not know how to compile this app by themselves can use it.