create service and preference screen