KSerditov. Adjust variable names for android naming conventions. Replace == to .equals. Save chosen folder result with SharedProperties.