An simple app using preferences activity