Very first version of configuration
Updated preferences and main activity