Added grouped select input to split local backups and uploaded ones. Prepared upload dir. Fixed directory initialization in some cases.