Method for treating melanoma is provided. The method comprises administering to a subject in need an effective amount of active ingredient, wherein the active ingredient is selected from the following group: a compound of formula (I), a pharmaceutically acceptable salt of the compound of formula (I), and combinations thereof,