Dear JetBrains .apply() seems to be deprecated and I have problems running the app in Intellij since I can't find the main class.