change prime activity and add wakelocks