Add Application, BootReceiver and preferences.