Added SuppressLint to allow the code to be compiled for older Androids