Fixed date format for saving. The old one caused the name of file for 25.12.2014 15:02:08 to be rec_2014-12-25-1528.wav instead of rec_2014-12-25-150208.wav. This bug is fixed now with use of String.format. Locale selected is Locale.ENGLISH. Mildly tested and seems to be working fine.