Fixed device selection bug and added static files