Method to check if the license for the program is valid or not.
Opens the license file, checks the key and if the key is valid, returns true
otherwise returns false.
Locate media player method, opens a JFileChooser for the user to select a directory.
The selected folder is then saved as the media folder if not null.