Saving settings into local folder

Signed-off-by: Daniel Dahlkvist <messer_@hotmail.com>