abstract dialogue options
As I was working on #15 (closed), I realized that I will most likely have to create two separate functions -- one for the desktop, and one for the Android versions of TBB. The functionality will be very similar (all database-related operations and dialogue options), apart from details (such as the way the correct URL containing the correct file is determined).
As the same dialogue options may be used repeatedly across different functions, it may be a good idea to 'abstract' them (aka. put them in a different file) to make maintenance easier and improve readability.