Made changes to permission and some work on splashscreen