Fix configuration when started for the first time

When the application is started for the first time the settings activity
will be started. But the main activity onCreate method proceeds. Hence,
a status request is issued which results in exceptions due to missing
configuration. This commit fixes that by adding appropriate return
statements, etc.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>