Doesn't look like this had anything to do with radical islam. The guy was depressed, had shown interest in mass-shootings and might have been inspired by Norwegian terrorist Anders Behring Breivik according to the police.
This is not confirmed but he might have used a picture of Breivik for his Whatsapp account.