Implement configuration activity and preferences