Nicole
Hi
It looks like just an idiom fault. I do not also see any problem in a sentence starting with the gerund 'trying'when it could be part of a substantive phrase acting as the subject. here is some theory on that
There is a class of noun phrases called substantive phrases that act as the subjects of a clause. While of course substantive phrases multifunctional such as acting as subjects, subject complements, direct objects and so on. Here is one aspect of them where they start a sentence. The important thing is that these noun phrases should be followed by a relevant verb.
1. With a gerund
Eating ice cream on a windy day can be a messy experience if you have long, untamed hair.
Arguing which color is the most beautiful is not going to help anyone
2. With the connector 'that'
That he will refuse the offer is unbelievable.
That the brothers are triplets is amazing.
That cigarette smoking results in malignant cancer has been empirically supported
3.With an infinitive 'to +verb'
To see the rainbow on a showery evening is incredible
To dance in the rains and to make merry are the favorite hobbies of the kids.
4. With " what'
What the committee members counter-argue are just a load of bullshit.
What you are doing seems very difficult to repeat.
5. With 'whether'
Whether they can get here in time does not have anything to do with our plan
Whether capital punishment should be replaced with sentence imprisonment is the central theme of the short story “The Bet”.