Changed the int to boolean(thank you  Anton) and fixed play/resume button buck while no file is selected