PinFileActivity: fixed logic error when checking if file is not pinnable