Many bugfixed for keyboard and Storage Access Framework