add main and secondary background resources id setting