fix logging bug in main activity

This was causing the app to crash since println requires a message