Changes made:
- Added path validation for "~".
- Added flashing available to nly non-mounted partitions
- now using 'lsblk -no' instead of normal 'lsblk'. for simplicity.